package com.study.rabbitmq.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.messaging.converter.MessageConverter;
import org.springframework.messaging.converter.SimpleMessageConverter;

@Configuration
public class MyAMQPConfig {

    @Bean
    public MessageConverter messageconverter(){
        return new SimpleMessageConverter();
    }
}
